package com.cinc.ebc.mm.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.UnsupportedEncodingException;

/**
 * @Description: 库存调拨明细
 * @Author: jeecg-boot
 * @Date:   2022-06-21
 * @Version: V1.0
 */
@ApiModel(value="mm_stock_transfer_detail对象", description="库存调拨明细")
@Data
@TableName("mm_stock_transfer_detail")
public class MmStockTransferDetail implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键ID*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键ID")
    private java.lang.String id;
	/**主表ID*/
    @ApiModelProperty(value = "主表ID")
    private java.lang.String pid;
	/**行号*/
	@Excel(name = "行号", width = 15)
    @ApiModelProperty(value = "行号")
    private java.lang.Integer lineNo;
	/**物料*/
	@Excel(name = "物料", width = 15)
    @ApiModelProperty(value = "物料")
    private java.lang.String materialId;
	/**物料编号*/
	@Excel(name = "物料编号", width = 15)
    @ApiModelProperty(value = "物料编号")
    private java.lang.String materialNo;
	/**物料描述*/
	@Excel(name = "物料描述", width = 15)
    @ApiModelProperty(value = "物料描述")
    private java.lang.String materialDesc;
	/**单位*/
	@Excel(name = "单位", width = 15, dictTable = "mdm_unit", dicText = "unit_name", dicCode = "unit_code")
    @ApiModelProperty(value = "单位")
    private java.lang.String unit;
	/**制单数量*/
	@Excel(name = "制单数量", width = 15)
    @ApiModelProperty(value = "制单数量")
    private java.math.BigDecimal billQty;
    /**调拨数量*/
    @Excel(name = "调拨数量", width = 15)
    @ApiModelProperty(value = "调拨数量")
    private java.math.BigDecimal transferQty;
	/**单价*/
	@Excel(name = "单价", width = 15)
    @ApiModelProperty(value = "单价")
    private java.math.BigDecimal unitPrice;
	/**金额*/
	@Excel(name = "金额", width = 15)
    @ApiModelProperty(value = "金额")
    private java.math.BigDecimal sumPrice;
	/**调出批次*/
	@Excel(name = "调出批次", width = 15)
    @ApiModelProperty(value = "调出批次")
    private java.lang.String batchOut;
	/**调入批次*/
	@Excel(name = "调入批次", width = 15)
    @ApiModelProperty(value = "调入批次")
    private java.lang.String batchIn;
	/**调出库位*/
	@Excel(name = "调出库位", width = 15, dictTable = "mdm_storage_location", dicText = "location_no", dicCode = "id")
    @ApiModelProperty(value = "调出库位")
    private java.lang.String storageLocationOut;
	/**调入库位*/
	@Excel(name = "调入库位", width = 15, dictTable = "mdm_storage_location", dicText = "location_no", dicCode = "id")
    @ApiModelProperty(value = "调入库位")
    private java.lang.String storageLocationIn;
    /**确认标志*/
    @Excel(name = "确认标志", width = 15)
    @ApiModelProperty(value = "确认标志")
    private java.lang.String confirmFlag;
    /**确认日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "确认日期")
    private java.util.Date confirmDate;
    /**确认人*/
    @ApiModelProperty(value = "确认人")
    private java.lang.String confirmEmp;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private java.lang.String remark;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;
	/**修改人*/
    @ApiModelProperty(value = "修改人")
    private java.lang.String updateBy;
	/**修改时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "修改时间")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**租户ID*/
	@Excel(name = "租户ID", width = 15)
    @ApiModelProperty(value = "租户ID")
    private java.lang.Integer tenantId;
}
